package design_pattern.command.demo01;

/**
 * @version 1.0.0
 * Created by cyd on 2022-06-16 10:38:55
 * @InterfaceName : design_pattern.command.demo01.Command
 * @Description : Command类，用来声明执行操作的接口
 */
public abstract class Command {
    protected Receiver receiver;

    public Command(Receiver receiver) {
        this.receiver = receiver;
    }

    public abstract void execute();
}
